package com.library.utils;

import java.util.regex.Pattern;

public class Validator {
    public static boolean isPositiveNumber(double value) {
        return value > 0;
    }

    public static boolean isPhoneNumber(String phone) {
        return Pattern.matches("^1[3-9]\\d{9}$", phone);
    }
}